package com.test.qpbgboot.evaluation.mapper;

import com.test.qpbgboot.evaluation.pojo.dto.EscortEvaluationQuery;
import com.test.qpbgboot.evaluation.pojo.entity.EscortEvaluation;
import com.test.qpbgboot.evaluation.pojo.vo.EscortEvaluationVO;

import java.util.List;

public interface EscortEvaluationMapper {
    List<EscortEvaluationVO> selectEscortEvaluationVObyEscortEvaluationQuery(EscortEvaluationQuery eescortEvaluationQuery);
    Double selectAvgRatingByEscortId(Long escortId);
    Long selectLikesByEscortId(Long escortId);
    void insert(EscortEvaluation escortEvaluation);
    void update(EscortEvaluation escortEvaluation);
    void deleteById(Long id);
}
